package org.jash.shop2112.utils

import android.util.Log
import org.jash.shop2112.BuildConfig

val Any.TAG
    get() = javaClass.simpleName


fun Any.log(msg:Any?) {
    if (BuildConfig.DEBUG) {
        Log.d(TAG, msg.toString())
    }
}